package org.web2024.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.web2024.dao.*;

import java.util.List;

@Mapper
public interface AdminMapper {

    List<String> selectTerms();
    void addTerm(String term,int score);
    String getMaxTerm(String term);
    String getTerm(String term);
    Integer termIsSelected(String term);
    Course showCourseInfo(String c_no);
    List<Student> showCourseStudents(String c_no);
    List<Course> showAllCourse();
    void addCourseList(List<Course> LCourse);
    void addStudentList(List<Student> LStudent);
    void addTeacherList(List<Teachar> LTeacher);
    void addUserList(List<User>users);
    void modifyCourseInfo(Course course);
    void modifyCourseCredit(Course course);
    Integer delscBycno(String c_no);
    Integer delscBysno(String s_no);
    Integer delCourse(String c_no);
    Integer delStudent(String s_no);
}
